package com.dcy.znoa.domain.conference;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 会议
 * @author chenjie
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("conference")
public class Conference {
	
	@TableId(type = IdType.AUTO, value = "conf_id")
    Long confId;
	
	@TableField("confer_subject")
	String conferSubject;
	
	@TableField("confer_content")
	String conferContent;
	
	@TableField("notice")
	Boolean notice = false;  //短信通知
	
	@TableField("receipt")
	Boolean receipt = false;  //回执
	
	@TableField("signin")
	Boolean signin = false;  //签到
	
	@TableField("confer_id")
	Long conferId;
	
	@TableField("start_time")
	Date startTime;
	 
	@TableField("end_time")
	Date endTime;
	
	@TableField("qr_code")
    String qrCode;
	
	@TableField("comp_id")
    Long compId;
	
	@TableField("create_oper_id")
    Long createOperId;
	
    @TableField("create_oper_name")
    String createOperName;

    @TableField("create_time")
    Date createTime;

    @TableField("update_oper_id")
    Long updateOperId;

    @TableField("update_oper_name")
    String updateOperName;

    @TableField("update_time")
    Date updateTime;

    @TableField("valid_flag")
    Integer validFlag;

    @TableField(exist = false)
    Integer operAmount;  //参会人员数量
    
    @TableField(exist = false)
    String conferAddress;  //会议室地址

}
